DataSource for Entity Framework in WPF
C1.Data Namespace / ClientView<T> Class / Paging Method / Paging<TKey>(Expression<Func<T,TKey>>,Int32) Method
The type of the sort key.
A function specifying a sort key.
A value for the PageSize property, the number of items to load in a page.

In This Topic
    Paging<TKey>(Expression<Func<T,TKey>>,Int32) Method
    In This Topic
    Applies paging to this client view.
    Syntax
    'Declaration
     
    Public Overloads Function Paging(Of TKey)( _
       ByVal sortKeySelector As Expression(Of Func(Of T,TKey)), _
       ByVal pageSize As Integer _
    ) As PagingView(Of T)

    Parameters

    sortKeySelector
    A function specifying a sort key.
    pageSize
    A value for the PageSize property, the number of items to load in a page.

    Type Parameters

    TKey
    The type of the sort key.

    Return Value

    Remarks
    Sorting is required, paging entities is impossible without sort.
    See Also